clear

public abstract CompletableFuture<Void> clear()

Marks all the cache entries for deletion.

Return

a new CompletableFuture that is completed when all the cache entries have been marked for deletion. If the profile is deleted or its engine is closed during clearing cache, the future will be canceled

Since

7.9

Throws

when the profile is deleted or its engine is closed